import { DrawerForm } from '@ant-design/pro-form';
import { ActionType } from '@ant-design/pro-table';
import React, { useRef } from 'react';
import { useAccess } from 'umi';

interface AssignContactProps {
  onRefurbish: () => void;
}

const AssignContact: React.FC<AssignContactProps> = ({ onRefurbish }) => {
  const access = useAccess();
  const actionRef = useRef<ActionType>();

  return (
    <DrawerForm
      key="assign_address_drawer_form"
      title="收录详情"
      drawerProps={{
        destroyOnClose: true,
      }}
      trigger={<a>点击查看</a>}
      onOpenChange={(visible) => {
        if (visible) {
        }
      }}
      submitter={false}
    ></DrawerForm>
  );
};

export default AssignContact;
